package com.service.quartz.entity;

import com.tool.base.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name = "task_log")
@Data
public class TaskLogEntity extends BaseEntity {

    @Column(name = "notify_result")
    private String notifyResult;

    @Column(name = "notify_state")
    private int notifyState;
    @OneToOne
    private TaskEntity task;

}
